<%@ page contentType="text/html; charset=utf-8" language="java"
	import="java.sql.*" errorPage=""%>
<%@ include file="/WEB-INF/common/common.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>我的预约</title>
<meta name="description" content="壁虎学车" />
<meta name="keywords" content="壁虎学车" />
<meta name="viewport"
	content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="<%=path%>/BihuWeb/css/amazeui.min.css" />
<link rel="stylesheet" href="<%=path%>/BihuWeb/css/style.css" />
<script type="text/javascript" src="<%=path%>/BihuWeb/js/jquery.min.js"></script>
<script type="text/javascript" src="<%=path%>/BihuWeb/js/amazeui.min.js"></script>
</head>
<body>
	<header data-am-widget="header"
		class="am-header am-header-default header">
<!-- 	<div class="am-header-left am-header-nav">
		<a href="#left-link" class=""> <i
			class="am-header-icon am-icon-angle-left"></i>
		</a>
	</div> -->
	<h1 class="am-header-title">
		<a href="#title-link" class="" style="color: #333;">我的预约</a>
	</h1>

	</header>

	<ul class="order-style">
		<li><a
			href="<%=basePath%>/OrderCar_myOrder.action?bookstate=-1&openid=${openid}">全部</a></li>
		<li><a
		href="<%=basePath%>/OrderCar_myOrder.action?bookstate=0&openid=${openid}">审核中</a></li>
		<li><a
			href="<%=basePath%>/OrderCar_myOrder.action?bookstate=1&openid=${openid}">未完成</a></li>
		<li><a
			href="<%=basePath%>/OrderCar_myOrder.action?bookstate=2&openid=${openid}">已完成</a></li>
		<li><a
			href="<%=basePath%>/OrderCar_myOrder.action?bookstate=3&openid=${openid}">已取消</a></li>

	</ul>
	<div data-am-widget="intro" class="am-intro am-cf am-intro-default">
	<c:if test="${0 == serviceCarApplyList.size() }"><p class="detail text">没有记录</p></c:if>

		<s:iterator value="serviceCarApplyList">

			<div class="am-g am-intro-bd">
				<div class="detail">
					<table width="100%" border="0">
						<tr>
							<td>${datemap.get(bookId) }</td>
							<td>${timemap.get(bookId)}</td>
							<td><c:choose>
							<c:when test="${0 == bookState }">审核中</c:when>
							<c:when test="${1 == bookState }">未完成</c:when>
							<c:when test="${2 == bookState }">已完成</c:when>
							<c:when test="${3 == bookState }">已取消</c:when>
							
							
							</c:choose> </td>
						</tr>
						<tr>
							<td colspan="3">教练：${coach.get(bookId).userRealName }（${coach.get(bookId).userTelephone }）</td>
						</tr>
						<tr>
							<td colspan="3">地址：${schoolmap.get(bookId) }</td>
						</tr>
					</table>

				</div>

			</div>
		</s:iterator>



	</div>




</body>
</html>
